package me.shiqiang.im.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Collection;

/**
 * Created by maliangxue on 2018/4/15.
 */
@FeignClient(name = "im-http-service")
@RequestMapping("im/server")
public interface RouterServerNodeClient {

    @GetMapping("getAllRouterIps")
    Collection<String> getAllRouterIps();
}
